package com.example.demo.bean.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

public class UpdateUserInfoRequest {

    @NotNull(message = "前端需传递用户ID")
    private Integer userID;//用户ID

    @NotBlank(message = "请填写用户昵称")
    private String nickName;//用户昵称

    @NotNull(message = "请填写用户性别")
    private Integer sex;//用户性别

    @NotBlank(message = "请填写用户头像")
    private String avatar;//用户头像

    @NotNull(message = "请填写用户年龄")
    private Integer age;//用户年龄

    public UpdateUserInfoRequest() {
    }

    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
